package com.atwisdom.star.dcs.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

@Data
public class RealTimeBase extends BaseEntity{
    //数采配置树结构全路径
    @TableField(value = "path")
    private String path;
    //节点设备分类，如：点焊、冲压等设备类型
    @TableField(value = "category")
    private String category;
    //节点设备编码
    @TableField(value = "code")
    private String code;
    //节点数据名称
    @TableField(value = "name")
    private String name;
    //节点id
    @TableField(value = "nodeId")
    private Short nodeId;
    //信号类型，0：模拟，1：数字
    @TableField(value = "kind")
    private Short kind;
    //当前生产品番
    @TableField(value = "pf")
    private String pf;
    //节点当前累计pv值
    @TableField(value = "pv")
    private Double pv;
    //上次启停累计pv值
    @TableField(value = "lastPv")
    private Double lastPv;
    //当前累计pv差值
    @TableField(value = "diffPv")
    private Double diffPv;
    //采集获取启动时间戳
    @TableField(value = "startTimestamp")
    private long startTimestamp;
    //采集获取时间戳
    @TableField(value = "endTimestamp")
    private long endTimestamp;
    //启动到当前获取数据时间差
    @TableField(value = "duration")
    private long duration;
    //统计时间戳
    @TableField(value = "statTimestamp")
    private long statTimestamp;
    //节点说明
    @TableField(value = "remark")
    private String remark;
}